package com.guofen.dao;

import com.guofen.pojo.SjqFlocculationProduceElectricity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqFlocculationProduceElectricityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqFlocculationProduceElectricity record);

    int insertSelective(SjqFlocculationProduceElectricity record);

    SjqFlocculationProduceElectricity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqFlocculationProduceElectricity record);

    int updateByPrimaryKey(SjqFlocculationProduceElectricity record);

    SjqFlocculationProduceElectricity findLast();

    List<SjqFlocculationProduceElectricity> selectAll();

    List<SjqFlocculationProduceElectricity> selectByDate(@Param("startDate") String startDate,
                                           @Param("endDate") String endDate);
}